
#header{
    width: 100%;
    height: 27px;
    background: #f2f2f2;
    min-width: 1190px;
}
// 清浮动
.clearfix::after{
    content: '';
    display: block;
    height: 1;
    clear: both;
}
body{
    background: url(../libs/images/backimg.png)no-repeat;
    background-size:cover ;
}
.container{
    width: 1190px;
    margin: 0 auto;
}
#header .container1{
    width: 990px;
    height: 26px;
    margin: 0 auto;
}
#header .left,#header .right{
    height: 26px;
    float: left;
}
#header .right{
    margin-left: 50px;
}
#header li .triangle{
    display: block;
    position: absolute;
    top: 0;
    right: 0;
}
#header li{
    height: 26px;
    padding: 0 10px;
    font-size: 12px;
    line-height: 26px;
    // margin-right: 20px;
    color: #999999;
    float: left;
    position: relative;
    
    &:hover .triangle{
        animation-name:zq;
        animation-duration: 1s;
    }
    &:hover{
        text-decoration: underline;
        color: red;
    }
    &:nth-child(2){
        &:hover{
            text-decoration: none;
            color: #999999;
        }
    } 
    .nav-f{
        color: red;
    }
}
#header .left li{
    &:nth-child(3){
        width:40px ;
        overflow: hidden;
        // white-space:wrap;
        flex-wrap: nowrap;
        text-overflow: ellipsis;
    }
    &:nth-child(2){
        position: relative;
        width: 86px;
        div{
            position: absolute;
            top: 0px;
            left: 0px;
            max-width: 86px;
            flex-wrap: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .username1{
            display: none;
        }
        .exit{
            display: none;
        }
    }
}
#header .right li:nth-child(2):hover{
    text-decoration: underline;
    color: red;
}
#header .right li{
    &:nth-child(1),&:nth-child(3){
        position: relative;
        .son{
            width: 100px;
            height: 60px;
            display: none;
            background-color: #ffffff;
            color: #333;
            text-align: center;
            position: absolute;
            z-index: 99;
            top: 26px;
            left: 0px;
            a{
                display: block;
                &:hover{
                    text-decoration: underline;
                    color: #fe0137;
                }
            }
        }
        &:hover{
            background: #ffffff;
            .son{
                display: block;
            }
        }
    }
    &:nth-child(4){
        position: relative;
        .son_2{
            width: 193px;
            height: 256px;
            display: none;
            border: 1px solid #f2f2f2;
            position: absolute;
            top: 26px;
            left: -56px;
            z-index: 99;
            img{
                width: 100%;
                height: 100%;
            }
        }
        &:hover .son_2{
            display: block;
        }
    }
    &:nth-child(7){
        width: 50px;
        position: relative;
        .son_2{
            width: 150px;
            height: 280px;
            border: 1px solid #f2f2f2;
            border-top: none;
            background-color: #ffffff;
            position: absolute;
            z-index: 99;
            display: none;
            top: 26px;
            right: 0px;
            .title{
                text-indent: 0.5em;
                width: 100%;
                height: 30px;
                float: left;
                color: #000;
                font-size: 16px;
            }
            .son_2_shop{
                width: 100%;
                height: 150px;
                float: left;
                li{
                   a{
                    padding: 0;
                   }
                }
            }
            .son_2_help{
                width: 100%;
                height: 70px;
                float: left;
                li{
                    float: none;
                }
            }
        }
        &:hover {
            background-color: #fff;
            .son_2{
                display: block;
            }
        }
    }
    &:nth-child(9){
        width: 51px;
        position: relative;
        .son_last{
            width: 81px;
            height: 107px;
            background-color: #ffffff;
            border: 1px solid #f2f2f2;
            display: none;
            position: absolute;
            top: 26px;
            left: 0px;
            color: #333;
            border-top: none;
            a{
                display: block;
                padding-left: 10px;
                &:hover{
                    color: #fe0137;
                    text-decoration: underline;
                }
            }
        }
        &:hover .son_last{
            display: block;
        }
    }
}
// 三角形旋转
@keyframes zq{
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(180deg);
    }
}
#search{
    height: 125px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    .logo{
        width: 87px;
        height: 53px;
        img{
            width: 100%;
            height: 100%;
        }
    }
    .search{
        width: 640px;
        height: 42px;
        position: relative;
        input{
            width: 530px;
            height: 38px;
            padding-left:15px ;
            float: left;
            border: 1px solid #fe0137;
            border-bottom-left-radius: 21px;
            border-top-left-radius: 21px;
            input[placeholder]{
                font-size: 14px;
                color: #999999;
            }
        }
        button{
            float: left;
            width: 90px;
            height: 42px;
            background-color: #fe0137;
            border-radius: 21px;
            border: 1px solid #fe0137;
            font-size: 18px;
            color: white;
            position: absolute;
            right: 21px;
            top: 0;
        }
    }
    .null{
        width: 120px;
        height: 42px;
    }
}
// 主题市场
#main{
    height: 3392px;
    border-radius: 15px;
    background: #ffffff;
    overflow: hidden;
    .top{
        width: 1175px;
        height: 43px;
        padding-left: 15px;
        font-size: 14px;
        font-weight: 100;
        .left{
            width:240px ;
            height: 46px;
            font-size: 14px;
            color: #fe0137;
            line-height: 46px;
            font-weight: 100;
            float: left;
            h3{
                font-weight: 500;
                margin-top: 5px;
            }
        }
        .right{
            width: 930px;
            height: 43px;
            font-size: 14px;
            font-weight: 100;
            float: left;
            margin-top: 8px;
            a{
                display: block;
                float: left;
                line-height: 40px;
                margin: 1px 0 1px 15px;
                color: #000;
                img{
                    width: 100%;
                    height: 100%;
                }
            }
            a:hover{
                text-decoration: underline;
                color: #fe0137;
            }
            a:nth-child(1){
                width:100px ;
                height: 30px;
                margin: 1px 16px 0 0;
            }
            a:nth-child(2){
                width:100px ;
                height: 30px;
                margin: 1px 0 0;
            }
        }
    }
    .bottom{
        width: 1190px;
        height: 533px;
        position: relative;
        .partition{
            padding: 10px 0 0 15px ;
            width:212px ;
            height: 518px;
            font-weight: 100;
            float: left;
            .partition_box{
                width: 212px;
                height: 31.5px;
                float: left;
                color: #666;
                font-size: 14px;
                line-height: 30px;
                .iconfont{
                    font-size: 16px;
                    margin: 0 13px 0 6px;
                    float: left;
                }
                a{
                    display: inline-block;
                    color: #666;
                    margin: 0 6px 0 7px;
                    &:hover{
                        color: #fe0137;
                    }
                }

            }
        }
        .banner{
            width: 521px;
            height: 515px;
            float: left;
            margin-left: 28px;
            margin-top: 16px;
            border-radius: 10px;
            .banner_top{
                width: 520px;
                height: 280px;
                float: left;
                border-radius: 15px;
                overflow: hidden;
                font-size: 15px;
                color: #fe0137;
                background-color: pink;
                .swiper-container{
                    width: 100%;
                    height: 100%;
                    img{
                        width: 100%;
                        height: 100%;
                    }
                }
            }
            .banner_bottom{
                width: 520px;
                height: 220px;
                margin-top: 13px;
                float: left;
                border-radius: 15px;
                overflow: hidden;
                .swiper-container{
                    width: 100%;
                    height: 100%;
                    .swiper-wrapper{
                        width: 100%;
                        height: 100%;
                        .swiper-slide{
                            width: 100%;
                            height: 100%;
                            .img{
                                width: 49%;
                                height: 100%;
                                float: left;
                                background-color: pink;
                                &:nth-child(1){
                                    margin-right: 2%;
                                }
                            }
                        }
                    }
                    img{
                        width: 100%;
                        height: 100%;
                    }
                }
            }
        }
        .ad{
            width: 364px;
            height: 498px;
            padding: 5px 10px;
            float: left;
            margin-top: 16px;
            margin-left: 10px;
            border-radius: 10px;
            position: absolute;
            right: 14px;
            top: 0px;
            display: flex;
            flex-direction: column;
            align-items: center;
            background-color: #f3f3f3;
            .userXX{
                width: 100%;
                height: 126px;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                img{
                    width: 50%;
                    height: 80%;
                    border-radius: 50%;
                    overflow: hidden;
                }
            }
            img{
                width: 100%;
                height: 141px;
                border-radius: 8px;
                overflow: hidden;
            }
            .title{
                width: 100%;
                height: 84px;
                flex-shrink: 0;
                display: flex;
                align-items: center;
                color: #666;
                font-size: 14px;
                font-weight: 100;
                h3{
                    color: #000;
                    margin-right: 10px;
                    font-weight: 400;
                }
            }
            .ad_shop{
                width: 100%;
                height: 50px;
                flex-shrink: 0;
                color: #333;
                font-size: 12px;
                display: flex;
                justify-content: space-evenly;
                align-items: center;
                a{
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    span{
                        font-size: 22px;
                    }
                    &:hover{
                        text-decoration: underline;
                    }
                }
            }
        }
    }
    // 天猫超市
    .superMarket{
        width: 1160px;
        height: 665px;
        padding: 0 10px 0 20px;
        margin-top: 36px;
        float: left;
        h3{
            height: 34px;
            width: 107px;
            border-radius: 17px;
            img{
                width: 100%;
                height: 100%;
            }
        }
        .superMarket_son{
            width: 100%;
            padding-top: 10px;
            height: 621px;
            li{
                width: 220px;
                height: 287px;
                margin-right: 12px;
                margin-top: 10px;
                float:left ;
                :nth-child(5n){
                    margin-right: 0;
                }
                .img{
                    width: 220px;
                    height: 220px;
                    border-radius:18px ;
                    overflow: hidden;
                    img{
                        width: 100%;
                        height: 100%;
                    }
                }
                .drsc{
                    margin-top: 11px;
                    font-size: 16px;
                    font-weight: 500;
                    height: 22px;
                    line-height: 22px;
                    width: 208px;
                    text-overflow: ellipsis;
                    overflow: hidden;
                    white-space: nowrap;
                    color: #000;
                }
                .price{
                    width: 220px;
                    height: 24px;
                    margin-top: 7px;
                    font-size:20px ;
                    line-height: 24px;
                    color: #ff5000;
                }
            }
        }
    }

    // 天猫国际
    .tm_global{
        width: 1160px;
        height: 693px;
        padding: 0 10px 0 20px;
        background-color: rgb(245, 241, 241);
        float: left;
        margin-top: 10px;
        .tm_global_title{
            width: 107px;
            height: 34px;
            border-radius: 22px;
            overflow: hidden;
            img{
                width: 100%;
                height: 100%;
            }
        }
        .tm_global_content{
            width: 100%;
            height: 633px;
            margin-top: 25px;
            .left{
                width: 222px;
                height: 633px;
                float: left;
                .product{
                    width: 221px;
                    height: 301px;
                    float: left;
                    position: relative;
                    margin-top: 15px;
                    border-radius: 16px;
                    overflow: hidden;
                    img{
                        width: 100%;
                        height: 100%;
                    }
                    .pre{
                        width: 190px;
                        height: 62px;
                        padding: 10px;
                        font-weight: 100;
                        border-top-right-radius: 5px;
                        border-bottom-right-radius: 5px;
                        background: rgb(0,0, .8);
                        color: #ffffff;
                        position: absolute;
                        left: 0;
                        bottom: 26px;
                        display: flex;
                        justify-content: space-evenly;
                        p{
                            width: 36px;
                            height: 50px;
                            font-size: 18px;
                            font-weight: 100;
                            flex-shrink: 0;
                        }
                        .s{
                            width: 1px;
                            height: 41px;
                            border-left: 1px solid #999999;
                        }
                        .pre_son{
                            width: 72px;
                            height: 72px;
                            flex-shrink: 0;
                            display: flex;
                            flex-direction: column;
                            span{
                                width: 100%;
                                font-size: 18px;
                            }
                            p{
                                font-size: 14px;
                                width: 100%;
                            }
                        }
                    }
                    
                }
            }
            .right{
                width: 916px;
                height: 632px;
                margin-left: 20px;
                float: right;
                li{
                    width: 220px;
                    height: 287.24px;
                    margin-top: 15px;
                    float: left;
                    margin-right: 10px;
                    border-radius: 10px;
                    overflow: hidden;
                    background-color: white;
                    &:nth-child(4n){
                        margin-right: 0px;
                    }
                    .img{
                        width: 220px;
                        height: 220px;
                        img{
                            width: 100%;
                            height: 100%;
                        }
                    }
                    .dsce{
                        width: 220px;
                        height: 25px;
                        margin:12px 0 0 ;
                        color: #000;
                        font-size:16px ;
                        text-overflow: ellipsis;
                        overflow: hidden;
                        white-space: nowrap;
                    }
                    .price{
                        width: 220px;
                        height: 24px;
                        margin: 5px 0 0;
                        font-size: 20px;
                        color: #ff5000;
                    }
                }
            }
        }
    }

    // 猜你喜欢
    .guss_you_like{
        width: 1160px;
        height: 1346px;
        padding: 0 10px 0 20px;
        margin-top: 30px;
        float: left;
        .title{
            width: 100%;
            height: 24px;
            .title_1{
                width:98px ;
                height: 24px;
                font-size: 24px;
                float: left;
                color: #000000;
            }
            .title_2{
                width: 70px;
                height: 17px;
                float: left;
                color: #ffffff;
                margin: 10px 0 0 15px;
                font-size: 14px;
                border-radius: 7px;
                text-align: center;
                line-height: 17px;
                background-color: #fe0137;
            }
        }
        ul{
            width: 100%;
            float: left;
            li{
                width: 220px;
                height: 310px;
                float: left;
                overflow: hidden;
                margin: 18px 12px 0 0;
                border-radius: 18px;
                transition: all .2s linear;
                &:hover{
                    z-index: 1;
                    -webkit-box-shadow: 0 15px 30px rgba(0, 0, 0, .1);
                    box-shadow: 0 15px 30px rgba(0, 0, 0, .1);
                    -webkit-transform: translate3d(0, -2px, 0);
                    transform: translate3d(0, -2px, 0)
                }
                a{
                    display: block;
                    height: 310px;
                    width: 220px;
                    .mask{
                        width: 220px;
                        height: 220px;
                        border-radius: 18px;
                        overflow: hidden;
                        background-color: rgba(0, 0, 0, .0);
                        float: left;
                        img{
                            width: 100%;
                            height: 100%;
                        }
                    }
                    .title{
                        width: 220px;
                        height: 44px;
                        font-size: 16px;
                        color: #000;
                        display: inline-block;
                        margin-top: 9px;
                        line-height: 22px;
                        overflow: hidden;
                        .p{
                            margin: 11px 0 0 6px;
                        }
                        .ellipsis{
                            display: inline;
                            content: '...';
                        }
                        &:hover{
                            color: #ff5000;
                        }
                    }
                    .price{
                        width: 220px;
                        height:23px ;
                        color: #ff5000;
                        line-height: 24px;
                        font-size: 20px;
                        font-weight: 100;
                        margin: 5px 0 0 6px;
                    }
                }

            }
        }
    }
}

// 页脚
#footer{
    width: 100%;
    height: 867px;
    min-width: 1190px;
    margin-top: 100px;
    .tm_methods{
        width:100% ;
        height:448px ;
        float: left;
        background-color: #ffffff;
        .top{
            width: 100%;
            height: 100px;
            padding: 50px 0 60px;
            a{
                display: block;
                height: 100%;
                float: left;
                width: 25%;
                display: flex;
                justify-content: center;
                align-items: center;
                span{
                    width: 50px;
                    height: 50px;
                    flex-shrink: 0;
                    border-radius: 50%;
                    border: 2px solid #f90237;
                    font-size: 27px;
                    text-align: center;
                    line-height: 50px;
                    color: #f90237;
                }
                .title{
                    height: 50px;
                    padding-left: 20px;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    h3{
                        font-size: 18px;
                        color: #3a3a3a;
                    }
                    p{
                        font-size: 16px;
                        color: #999999;
                    }
                }
            }
        }
        .methods{
            width: 100%;
            height: 205px;
            border-top: 1px solid #ededed;
            padding-top: 33px;
            background: url(../libs/images/xiaomao.jpg)no-repeat 2px bottom;
            display: flex;
            .content{
                width: 20%;
                height: 223px;
                line-height: 30px;                
                .title{
                    font-size: 16px;
                    color: #646464;
                    font-weight: bolder !important;
                }
                ul li{
                    height: 20px;
                    font-size: 12px;
                    color: #8b8b8b;
                    line-height: 20px;
                    &:hover{
                        text-decoration: underline;
                    }
                }
                ul .ewm{
                    width: 105px;
                    height: 105px;
                    img{
                        width: 100%;
                        height: 100%;
                    }
                }
            }
        }
    }
    .network{
        width:100% ;
        float: left;
        height: 407px;
        font-size: 12px;
        background-color: #000;
        border-top: 2px solid #f90237;
        ul{
            width: 100%;
            height: 30px;
            font-size: 12px;
            line-height: 30px;
            float: left;
            color: #ffffff;
            li{
                float: left;
                height: 35px;
                line-height: 35px;
                margin-right: 10px;
                &:hover{
                    text-decoration: underline;
                }
            }
        }
        .second{
            width: 100%;
            height: 35px;
            font-size: 12px;
            line-height: 35px;
            li{
                float: left;
                height: 35px;
                line-height: 35px;
                margin-right: 3px;
                a{
                    display: block;
                    float: left;
                    margin-right: 5px;
                    &:hover{
                        text-decoration: underline;
                    }
                }
            }
        }
        .information{
            width: 100%;
            margin: 15px 0 20px 0;
            a{
                display: block;
                float: left;
                margin-right: 65px;
                font-size: 12px;
                line-height: 20px;
                color: #a4a4a4;
                &:hover{
                    text-decoration: underline;
                }
            }
            .gongan{
                height: 20px;
                padding-left: 25px;
                background: url(../libs/images/gongan.png)no-repeat;
            }
        }
        .xinxi{
            width: 100%;
            float: left;
            font-size: 12px;
            line-height: 20px;
            margin-bottom: 10px;
            
            color: #a4a4a4;
            p{
                float: left;
                margin-right: 20px;
            }
            .img{
                width: 35px;
                height: 35px;
                margin: -15px 0 0;
                img{
                    width: 100%;
                    height: 100%;
                }
            }
        }
        .img_li{
            width: 1190px;
            display: flex;
            justify-content: space-between;
            img{
                flex-shrink: 0;
                cursor: pointer;
            }
        }
        .img_li1{
            width: 1190px;
            height: 72px;
            display: flex;
            justify-content: center;
            position: relative;
            top: 30px;
            img{
                flex-shrink: 0;
                background: white;
                align-items: baseline;
                cursor: pointer;
            }
        }
    }
}
// 吸顶页
.move{
    animation-name: show1;
    animation-duration:0.5s ;
    position: fixed;
    top: 0px;
    left: 0;
}
.no_move{
    position: absolute;
    top: 800px;
    z-index: 999;
}
@keyframes show1{
    0%{
        height: 0px;
    }
    100%{
        height: 50px;
    }
}
#search1{
    width: 100%;
    height: 100px;
    display: none;
    background-color: #f3f3f3;
    
    .container12{
        width: 990px;
        margin: 0 auto;
        height: 100px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        .search{
            width: 550px;
            height: 40px;
            input{
                width: 447px;
                height: 30px;
                border: 3px solid #ff0036;
                float: left;
                input[placeholder]{
                    font-size: 13px;
                }
            }
            button{
                width: 90px;
                height: 38px;
                background: #ff0036;
                border: none;
                float: left;
            }
        }
    }
}